package com.liming.model;

import java.util.ArrayList;
import java.util.List;

public class GoodsType {
	public static final GoodsType NULLTYPE = new GoodsType();
	private int typeid;
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}
	private String typename;
	private int pid;//父亲的类别
	private int typestatus;//类别的状态 是否存在
	private List<GoodsType> subtype=new ArrayList<GoodsType>();
	public List<GoodsType> getSubtype() {
		return subtype;
	}
	public void setSubtype(List<GoodsType> subtype) {
		this.subtype = subtype;
	}
	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getTypestatus() {
		return typestatus;
	}
	public void setTypestatus(int typestatus) {
		this.typestatus = typestatus;
	}
}
